package com.aliang.shopping.model.dto.common;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(description = "分页数据传输对象")
public class PageDTO extends BasicDTO {
    /**
     * 当前页码
     */
    @ApiModelProperty(value = "当前页码", required = true)
    private Integer pageNum;

    /**
     * 每页数量
     */
    @ApiModelProperty(value = "每页数量", required = true,position = 1)
    private Integer pageSize;

    /**
     * 关键字
     */
    @ApiModelProperty(value = "关键字",position = 2)
    private String keyword;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "开始时间",position = 10)
    private String beginTime;

    /**
     * 结束时间
     */
    @ApiModelProperty(value = "结束时间",position = 10)
    private String endTime;
}
